package com.hualian.system.common;

import java.util.HashMap;
import java.util.Map;

public class Constants {

	public static final String FILE_ROOT = "E:/apache-tomcat-7.0.56crm/wtpwebapps";

	public static final String PRODUCT_FILE_DIR = "/image/";
	
	//项目地址
	public static final String BASE_PATH ="localhost:8080/crm";
	//##################################公共######################################
	//未删除
	public static final int NOT_DELETE = 0;
	//已删除
	public static final int IS_DELETE = 1;
	
	// session中的用户表主键
	public static final String USER_ID = "userId";
	// ##################用户状态##################################
	// 0:正常
	public static final String USER_STATUS_0 = "正常";
	// 1:冻结
	public static final String USER_STATUS_1 = "冻结";

	public static final String PRO_STATUS_NONE = "不存在";

	public static final String PRO_STATUS_START = "开始投标";

	public static final String PRO_STATUS_ING = "投标中";

	public static final String PRO_STATUS_OVER = "投标结束";

	public static final String REPLY_SUM = "本金+利息";

	public static final String REPLY_STAGE = "分期";

	public static final float PRIZE = 50;

	
	
	//############################ tb_sytem_parameter 系统参数 ####################################
	
	//系统参数编码列名称
	public static final String SYSTEM_PARAMETER_CODE = "code";
	//系统参数值列名称
	public static final String SYSTEM_PARAMETER_VALUE = "value";
	
	//每支队伍最大人数
	public static final String TEAM_MAX_QUANTITY = "TEAM_MAX_QUANTITY";
	//如果队伍最大人数获取的值为空,则默认为10人
	public static final String TEAM_MAX_QUANTITY_DEFAULT = "10";
	//加入队伍二维码失效时间(分钟),如果不设置失效时间则value值填写"EVER"
	public static final String JOIN_TEAM_QRCODE_INDATE = "JOIN_TEAM_QRCODE_INDATE";
	//如果失效时间获取的值为空,则默认为5分钟
	public static final String JOIN_TEAM_QRCODE_INDATE_DEFAULT = "5";
	
	
	//############################ tb_user 用户表   #######################################
	//不是队长
	public static final String USER_NOT_CAPTAIN = "0";
	//是队长
	public static final String USER_IS_CAPTAIN = "1";
	//用户队伍没有加入任何队伍的标识  (teamId中填写的内容)
	public static final String USER_NOT_JOIN_TEAM = "-1";
	
	//############################ 用户加入队伍时异常信息 #######################################
	//队伍人员已经满了
	public static final int TEAM_IS_FULL = -1;
	//该队伍不存在
	public static final int TEAM_NOT_EXISTS = -2;
	
	
	//######################## tb_user_2_team ##############################
	//加入队伍
	public static final String USER_2_TEAM_JOIN = "0";
	//离开队伍
	public static final String USER_2_TEAM_LEAVE = "1";
	
	/**
	 * 报名审核状态-审核通过
	 */
	public static final String APPLY_PASS = "0";
	/**
	 * 报名审核状态-未审核
	 */
	public static final String APPLY_SOON = "1";
	/**
	 * 报名审核状态-审核未通过
	 */
	public static final String APPLY_REJECT = "2";
	
	

}
